<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>EasyTalk Administrator's Control Panel</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta content="H.Joeson" name="Copyright" />
		<link rel="stylesheet" href="<{$res}>/css/style.css" type="text/css" media="all" />
		<script src="<{$res}>/js/jquery.js" type="text/javascript"></script>
		<script src="<{$res}>/js/admin.js" type="text/javascript"></script>
	</head>
	<body>
	<div id="bodymain">
		<div class="title"> </div>
		<div class="content">
			<script src="<{$res}>/kindeditor/kindeditor-min.js" type="text/javascript"></script>
			<script src="<{$res}>/kindeditor/lang/zh_CN.js" type="text/javascript"></script>
			<script type="text/javascript">
				var editor;
				KindEditor.ready(function(K) {
					editor = K.create('textarea[name="position[]"]', {
						resizeType : 1,
						allowPreviewEmoticons : false,
						allowImageUpload : false,
						items : [
							'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
							'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
							'insertunorderedlist', '|', 'emoticons', 'link']
					});
				});
			</script>
			<form action='<{$url}>/doAds' method="POST">
				<h3>关于我们设置</h3>
				<table style="margin:5px 0 20px 0">
					<tr height="220px">
						<td width="100px" valign="top" style="font-size:12px"><img src="<{$res}>/images/ad1.jpg" style="border:1px solid #cccccc;padding:2px"></td>
						<td valign="top"><textarea id="content1" name="position[]" style="width:600px;height:120px;font-size:12px"><{$ads[0]['text']}></textarea></td>
					</tr>
					<tr height="220px">
						<td width="100px" valign="top" style="font-size:12px"><img src="<{$res}>/images/ad3.jpg" style="border:1px solid #cccccc;padding:2px"></td>
						<td valign="top"><textarea id="content2" name="position[]" style="width:600px;height:120px;font-size:12px"><{$ads[1]['text']}></textarea></td>
					</tr>
					<tr>
						<td width="100px" valign="top" style="font-size:12px"><img src="<{$res}>/images/ad2.jpg" style="border:1px solid #cccccc;padding:2px"></td>
						<td valign="top"><textarea id="content3" name="position[]" style="width:600px;height:120px;font-size:12px"><{$ads[2]['text']}></textarea></td>
					</tr>
				</table>
				<input type="submit" class="button1 submit" value="保存提交">
			</form>
			</div>
		</div>
	</body>
</html>